<%@ page pageEncoding="ISO-8859-1" contentType="text/html; charset=ISO-8859-1" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
	<link rel="stylesheet" type="text/css" href="defstyle.css">
	<fmt:setBundle basename="MessageResources"/>
	<title><fmt:message key="main.title"/></title>
</head>
<body bgcolor="#c0c0c0" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
	<table align="center" border="0" cellpadding="0" cellspacing="0" width="800" height="100%">
		<tr height="60">
			<td colspan="2" bgcolor="#4870ae"><img src="images/logo_portal.png"></td>
		</tr>
		<tr>
			<td colspan="2"><img src="images/div_master.gif" width="100%" height="7"></td>
		</tr>
		<tr>
			<td valign="top" width="40%"><table align="center" border="0" cellpadding="0" cellspacing="3" width="100%">
				<tr>
					<td>
						<img src="images/banner_corner.jpg">
						<div align="left">
							<h1><strong>*** <fmt:message key="home.title1"/></strong></h1>
							<fmt:message key="home.text1"/>
							<h1><strong>*** <fmt:message key="home.title2"/></strong></h1>
							<fmt:message key="home.text2">
								<fmt:param value="<a href='registerUser.do' target='master'>"/>
								<fmt:param value="</a>"/>
							</fmt:message>
						</div>
					</td>
				</tr>
			</table></td>
			<td valign="top" width="60%"><table align="center" border="0" cellpadding="0" cellspacing="3" width="100%">
				<tr>
					<td><img src="images/icon_data.gif"></td>
					<td>Segunda-feira, 20 de Julho de 2009</td>
					<td align="right"><a href="logout.do" target="master">Logout</a>
						<c:if test="${not empty userName}">
							<fmt:message key="login.bar.text1">
								<fmt:param value="${userName}"/>
								<fmt:param value="logout.do"/>
							</fmt:message>
						</c:if>
					</td>
				</tr>
				<tr>
					<td colspan="3"><img src="images/div_menu.gif" width="100%" height="18"></td>
				</tr>
				<tr>
					<td colspan="3"><table border="0" cellpadding="0" cellspacing="3">
						<tr>
							<td rowspan="8"><img src="images/picture_menu.jpg"></td>
							<td><img src="images/icon_link.gif"></td>
							<td>
								<a href="queryAllStates.do" target="master"><fmt:message key="home.queryAll"/></a> /
								<a href="queryStates.do" target="master"><fmt:message key="home.query"/></a> /
								<a href="registerState.do" target="master"><fmt:message key="home.register"/></a>
								<fmt:message key="states"/>
							</td>
						</tr>
						<tr>
							<td><img src="images/icon_link.gif"></td>
							<td>
								<a href="queryAllBehaviors.do" target="master"><fmt:message key="home.queryAll"/></a> /
								<a href="queryBehaviors.do" target="master"><fmt:message key="home.query"/></a> /
								<a href="registerBehavior.do" target="master"><fmt:message key="home.register"/></a>
								<fmt:message key="behaviors"/>
							</td>
						</tr>
						<tr>
							<td><img src="images/icon_link.gif"></td>
							<td>
								<a href="queryAllDrugs.do" target="master"><fmt:message key="home.queryAll"/></a> /
								<a href="queryDrugs.do" target="master"><fmt:message key="home.query"/></a> /
								<a href="registerDrug.do" target="master"><fmt:message key="home.register"/></a>
								<fmt:message key="drugs"/>
							</td>
						</tr>
						<tr>
							<td><img src="images/icon_link.gif"></td>
							<td>
								<a href="queryAllFoods.do" target="master"><fmt:message key="home.queryAll"/></a> /
								<a href="queryFoods.do" target="master"><fmt:message key="home.query"/></a> /
								<a href="registerFood.do" target="master"><fmt:message key="home.register"/></a>
								<fmt:message key="foods"/>
							</td>
						</tr>
						<tr>
							<td><img src="images/icon_link.gif"></td>
							<td>
								<a href="queryAllSymptoms.do" target="master"><fmt:message key="home.queryAll"/></a> /
								<a href="querySymptoms.do" target="master"><fmt:message key="home.query"/></a> /
								<a href="registerSymptom.do" target="master"><fmt:message key="home.register"/></a>
								<fmt:message key="symptoms"/>
							</td>
						</tr>
						<tr>
							<td><img src="images/icon_link.gif"></td>
							<td>
								<a href="queryAllDiseases.do" target="master"><fmt:message key="home.queryAll"/></a> /
								<a href="queryDiseases.do" target="master"><fmt:message key="home.query"/></a> /
								<a href="registerDisease.do" target="master"><fmt:message key="home.register"/></a>
								<fmt:message key="diseases"/>
							</td>
						</tr>
						<tr>
							<td><img src="images/icon_link.gif"></td>
							<td>
								<a href="queryAllTreatments.do" target="master"><fmt:message key="home.queryAll"/></a> /
								<a href="queryTreatments.do" target="master"><fmt:message key="home.query"/></a> /
								<a href="registerTreatment.do" target="master"><fmt:message key="home.register"/></a>
								<fmt:message key="treatments"/>
							</td>
						</tr>
					</table></td>
				</tr>
				<tr>
					<td colspan="3"><img src="images/div_menu.gif" width="100%" height="18"></td>
				</tr>
				<tr>
					<td colspan="3">
						<iframe name="master" src="login.do" width="100%" height="500" style="border:none"></iframe>
					</td>
				</tr>
			</table></td>
		</tr>
		<tr>
			<td colspan="2"><img src="images/div_master.gif" width="100%" height="7"></td>
		</tr>
	</table>
</body>
</html>
